<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<div class="table-responsive">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th class="text-center"><div class="table-first-id">ID</div></th>
            <th class="text-center" width="12%">学员名</th>
            <th class="text-center" width="48%">通知内容</th>
            <th class="text-center" width="15%">通知时间</th>
            <th class="text-center" width="10%">状态</th>
            <th class="text-center" width="10%">操作</th>
        </tr>
        </thead>
    </table>

    <div class="J_V_tabContent table-xScrollWrap">
        <table class="table table-bordered table-hover table-xs-content">
            <tbody id="tbodyClasses">
            <tr class="jqgfirstrow" role="row">
                <td class="text-center"><div class="table-first-id">&nbsp;</div></td>
                <td class="text-center" width="12%">&nbsp;</td>
                <td class="text-center" width="48%">&nbsp;</td>
                <td class="text-center" width="15%">&nbsp;</td>
                <td class="text-center" width="10%">&nbsp;</td>
                <td class="text-center" width="10%">&nbsp;</td>
            </tr>

            <tr th:if="not ${#lists.isEmpty(dataMap['list'])}" th:each="affiche : ${dataMap['list']}" th:attr="data-id=${affiche['id']}">
                <td class="text-center">
                    <input type="checkbox" class="i-checks" name="id" th:value="${affiche['id']}"/>
                </td>
                <td class="text-center" th:text="${#strings.isEmpty(affiche['cusUser']['realName'])} ? ${affiche['cusUser']['nickname']} : ${affiche['cusUser']['realName']}"></td>
                <td class="text-center">
                    <span onclick="return false;" th:utext="${affiche['context']}"></span><br>
                </td>
                <td class="text-center" th:text="${#strings.substring(affiche['createTime'],0,16)}"></td>
                <td class="text-center" data-status>
                    <span th:if="${affiche['status'] == 2}" class="label label-default">已读</span>
                    <span th:if="${affiche['status'] == 1}" class="label label-info">未读</span>
                </td>
                <td class="text-center">
                    <a href="javascript:void(0);" class="c-master fs14 ml5" data-toggle="tooltip" data-placement="bottom" data-original-title="删除"><i class="fa fa-trash"></i></a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>

    <!-- 分页，开始 -->
    <div data-th-replace="layout/adminPage"></div>
    <!-- 分页，结束 -->
</div>

